package cn.xuexiluxian.open.system.service.impl;

import cn.xuexiluxian.open.system.mapper.SystemAreaMapper;
import cn.xuexiluxian.open.system.model.entity.SystemArea;
import cn.xuexiluxian.open.system.service.ISystemAreaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemAreaService extends ServiceImpl<SystemAreaMapper, SystemArea> implements ISystemAreaService {
    @Autowired
    private SystemAreaMapper systemAreaMapper;

    @Override
    public List<SystemArea> selectListByParentId(Integer parentId) {
        return systemAreaMapper.selectListByParentId(parentId);
    }
}
